package air2.totc.common;

import java.security.Security;

import org.spongycastle.jce.provider.BouncyCastleProvider;

public class Configure 
{
	/**
	 * Enregistrement de Bouncy Castle comme 'provider'
	 */
	public static void registerBouncyCastle()
	{
		Security.addProvider(new org.spongycastle.jce.provider.BouncyCastleProvider());
	}
	
	public static void configure()
	{
		registerBouncyCastle();
	}
}
